Programming Collective Intelligence by Toby Segaran
Author:Toby Segaran [Toby Segaran]
Language: eng
Format: epub
Tags: COMPUTERS / Intelligence (AI) & Semantics
ISBN: 9780596158422
Publisher: O'Reilly Media
Published: 2008-12-16T16:00:00+00:00
Figure 7-7. Decision tree model of hotness
The central node at the top that divides the dataset the best is gender. The remainder of the tree is actually quite complicated and difficult to read. However, you can certainly use it to make predictions about previously unseen people. Also, because the algorithms support missing data, you can aggregate people across large variables. For example, maybe you want to compare the hotness of everyone in the South against everyone in the Mid-Atlantic:
>>>south=treepredict2.mdclassify((None,None,'South'),hottree) >>> midat=treepredict2.mdclassify((None,None,'Mid Atlantic'),hottree) >>> south[10]/sum(south.values( )) 0.055820815183261735 >>> midat[10]/sum(midat.values( )) 0.048972797320600864
For this dataset, there are slightly more super-hot people in the South. You can try other things like considering age groups, or testing whether men get better scores than women.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Computer Vision & Pattern Recognition | Expert Systems |
Intelligence & Semantics | Machine Theory |
Natural Language Processing | Neural Networks |
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(8295)
Test-Driven Development with Java by Alan Mellor(6697)
Data Augmentation with Python by Duc Haba(6602)
Principles of Data Fabric by Sonia Mezzetta(6359)
Learn Blender Simulations the Right Way by Stephen Pearson(6252)
Microservices with Spring Boot 3 and Spring Cloud by Magnus Larsson(6118)
Hadoop in Practice by Alex Holmes(5958)
Jquery UI in Action : Master the concepts Of Jquery UI: A Step By Step Approach by ANMOL GOYAL(5806)
RPA Solution Architect's Handbook by Sachin Sahgal(5518)
Big Data Analysis with Python by Ivan Marin(5347)
The Infinite Retina by Robert Scoble Irena Cronin(5217)
Life 3.0: Being Human in the Age of Artificial Intelligence by Tegmark Max(5143)
Pretrain Vision and Large Language Models in Python by Emily Webber(4306)
Infrastructure as Code for Beginners by Russ McKendrick(4069)
Functional Programming in JavaScript by Mantyla Dan(4038)
The Age of Surveillance Capitalism by Shoshana Zuboff(3946)
WordPress Plugin Development Cookbook by Yannick Lefebvre(3784)
Embracing Microservices Design by Ovais Mehboob Ahmed Khan Nabil Siddiqui and Timothy Oleson(3585)
Applied Machine Learning for Healthcare and Life Sciences Using AWS by Ujjwal Ratan(3562)
